﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QLKhachSan.DTO;
using System.Data;
using System.Data.SqlClient;
using QLKhachSan.DAO;

namespace QLKhachSan.BUS
{
    public class BUS_KhachHang
    {
        public static void themKhachHang(DTO_KhachHang p)
        {
            DAO_KhachHang.themKhachHang(p);
        }
        public static DataTable hienthiDanhSachKhachHang()
        {
            return DAO_KhachHang.hienthiDanhSachKhachHang();

        }
        public static void suaKhachHang(DTO_KhachHang p)
        {
            DAO_KhachHang.suaKhachHang(p);
        }
        public static void xoaKhachHang(DTO_KhachHang p)
        {
            DAO_KhachHang.xoaKhachHang(p);
        }
        public static void suaKhachHangDeThanhToan(DTO_KhachHang p)
        {
            DAO_KhachHang.suaKhachHangDeThanhToan(p);
        }
         public static DataTable hienthiDanhSachKhachHangDaThue()
        {
            return DAO_KhachHang.hienthiDanhSachKhachHangDaThue();
        }
    }
}
